fix garmin serial/usb device character encoding/decoding. (#1117)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Fri, 19 May 2023 19:02:45 +0000 (13:02 -0600)
committerGitHub <noreply@github.com>
Fri, 19 May 2023 19:02:45 +0000 (13:02 -0600)
commitc3e7b7ec5732543e210ff82532acf76b8ad927e3
treeaf4e76b9a8e649383ba916b517807788b8d59212
parent4aa594a348231eb90ccb20bd7a140a949786bc7a
fix garmin serial/usb device character encoding/decoding. (#1117)

* attempt to use correct codec with garmin reader.

the garmin writer is unchanged as of yet.

* fix garmin writer wrt encoding.

* add garmin option to force codec.

* update serialization ref files for garmin codec option.

* fix potential overwrite bug with route/track names

in garmin writer.

* fix up for old Qt.

* correct assertion

* use static_assert to for fixed buffer size checks.

* document garmin codec option

* don't clean rtept/trkpt names for newer devices.

We clear badchars for newer devices already, effectively not
cleaning wpt names.
garmin.cc
reference/format3.txt
reference/help.txt
xmldoc/formats/options/garmin-codec.xml [new file with mode: 0644]